<div xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:c="http://java.sun.com/jstl/core" class="box" >
    <!-- recherche -->
    <h:form  id = "searchResForm">
    	<dl>
    		<dt class = "boxHeader">Recherche</dt>
    		<dd class="boxContent">
    			<h:message for = "loginForm" layout = "table"></h:message>
    			<dl>
    				<dt><h:outputText value="Titre: "/></dt>
    				<dd><h:inputText id = "tiltle" value="#{search.projetCriteria.tiltle}" title ="Title" size= "20"/></dd>
    				
    				<dt> <h:outputText value="Auteur"></h:outputText></dt>
    				<dd><h:inputText id="auteur" value="#{searchProjet.projetCriteria.auteur}" title="Auteur" size="20"/></dd>
    				
    				<dt> <h:outputText value="Details"></h:outputText></dt>
    				<dd><h:inputText id="details" value="#{search.projetCriteria.details}" title="Details" size="20"/></dd>
    				
    				<dt> <h:outputText value="Type"></h:outputText></dt>
    				
    				<dd>
    					<h:selectOneMenu id = "type" value ="#{search.projetCriteria.typeFk}" title="Type" converter="typeConverter">
    					<f:selectItem itemLabel = "Tout type" itemValue="#{search.nullType}"></f:selectItem>
    					<f:selectItems id="selectType" value="#{search.listType}"></f:selectItems>
    					</h:selectOneMenu>
    				</dd>
    				
    				<dt><h:outputText value ="Categories: "></h:outputText></dt>
    				
    				<dd>
    					<h:selectOneMenu id = "categorie" value ="#{search.projetCriteria.categoryFk}" title="Category" converter="categoryConverter">
    					<f:selectItem itemLabel = "Toute category" itemValue="#{search.nullCategory}"></f:selectItem>
    					<f:selectItems id="selectCategory" value="#{search.listCategory}"></f:selectItems>
    					</h:selectOneMenu>
    				</dd>
    				
    				<dd><h:commandButton action="#{search.search}" value = "Rechercher" class="formButton" style ="width: 166px;"></h:commandButton></dd>
    				
    			</dl>
    		</dd>
    	
    	</dl>
    </h:form>
</div>
